package dictionary;

/**
 * @author Administrator
 */
public class MyDic {
    private int id;
    private String english;
    private String chinese;
    private String comment;

    public MyDic(int id, String english, String chinese, String comment) {
        this.id = id;
        this.english = english;
        this.chinese = chinese;
        this.comment = comment;
    }

    public MyDic() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEnglish() {
        return english;
    }

    public void setEnglish(String english) {
        this.english = english;
    }

    public String getChinese() {
        return chinese;
    }

    public void setChinese(String chinese) {
        this.chinese = chinese;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    @Override
    public String toString() {
        return "MyDic{" +
                "id=" + id +
                ", english='" + english + '\'' +
                ", chinese='" + chinese + '\'' +
                ", comment='" + comment + '\'' +
                '}';
    }
}
